package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.Finances;
import com.woniu.mapper.FinancesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Gapper
 * @since 2021-04-01
 */
public interface FinancesService {

    Finances findById(Integer financeId);

    boolean save(Finances finances);

    boolean delete(List<Integer> financeIds);

    boolean updata(Finances finances);

    List<Map<String, String>> findAll(String type);
}
